package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName WarnStrategyExtRequest.java
 * @Description
 * @createTime 2022年02月28日
 */
@Data
@ApiModel("策略额外数据")
public class WarnStrategyExtRequest {

    @ApiModelProperty(value = "类型： 1 低报   2高报  ")
    private Integer type;

    @ApiModelProperty(value = "消息推送方式：1短信 2外呼")
    private Integer pushType;
    //报警次数开始
    @ApiModelProperty(value = "报警次数开始 从1开始")
    private Integer reportNumberStart;

    //报警次数结束
    @ApiModelProperty(value = "报警次数结束")
    private Integer reportNumberEnd;
    //推送级别1-10
    @ApiModelProperty(value = "推送级别1-10")
    private Integer pushLevel;

    //推送员工信息
    @ApiModelProperty(value = "推送员工工号;分割")
    private String pushStaffs;
    //展示顺序
    @ApiModelProperty(value = "发送策略展示顺序")
    private Integer sort;

    @ApiModelProperty(value = "短信消息手机号")
    @Length( max = 1000,message = "短信消息手机号请输入1000以内的字符")
    private String sendPhones;

    @ApiModelProperty(value = "外呼消息手机号")
    @Length( max = 1000,message = "外呼手机号请输入1000以内的字符")
    private String callPhones;
}
